
--底层以UDP为核心的网络库
workspace "lua_flatbuffers"
	configurations { "Debug", "Release" }
	platforms { "Win32", "Win64", "Linux" }
	location "build"

filter { "platforms:Win32" }
    system "windows"
    architecture "x32"
	defines { "_WIN32", "WIN32"}
	
filter { "platforms:Win64" }
    system "windows"
    architecture "x64"	
	defines { "_WIN32", "WIN32" }
	
filter { "platforms:Linux" }
    system "linux"
    architecture "x64"	
	defines { "LINUX", "linux" ,"POSIX"}
	
	
filter "configurations:Debug"
	defines { "DEBUG" , "_DEBUG"}
	symbols "On"
	optimize "Debug"
	
filter "configurations:Release"
	defines { "NDEBUG" }
	symbols "Off"
	optimize "Speed"
	vectorextensions "SSE2"
	

project "lua_flatbuffers"
	kind "ConsoleApp"
	language "C++"
	
	includedirs{
		"./",
		"./lua",
	}
	
	files { 
		"*.h",
		"*.cpp",
		"lua/*.h",
		"lua/*.c",
		"flatbuffers/*.h",
		"flatbuffers/*.cpp",
		"luacjson/*.h",
		"luacjson/*.c",
	}

	
